echo "Creating subdirectories."
# I think we're not going to distribute anything in external-lisp, so
# I've removed it from this list.
-for subdir in lisp lisp/calc-2.02 lisp/term local-lisp \
+for subdir in lisp lisp/term local-lisp \
src src/m src/s src/bitmaps lib-src oldXMenu \
etc lock cpp info man shortnames vms; do
mkdir ${tempdir}/${subdir}
rm -f site-load site-load.el site-load.elc
rm -f default default.el default.elc)
-echo "Making links to \`lisp/calc-2.02'."
-### Don't distribute =*.el files, TAGS or backups.
-(cd lisp/calc-2.02
- ln [a-zA-Z]*.el ../../${tempdir}/lisp/calc-2.02
- ln [a-zA-Z]*.elc ../../${tempdir}/lisp/calc-2.02
- ln calc.info* calc.texinfo calc-refcard.* ../../${tempdir}/lisp/calc-2.02
- ln INSTALL Makefile README README.prev ../../${tempdir}/lisp/calc-2.02
- cd ../../${tempdir}/lisp/calc-2.02
- rm -f *~ TAGS)
+#echo "Making links to \`lisp/calc-2.02'."
+#### Don't distribute =*.el files, TAGS or backups.
+#(cd lisp/calc-2.02
+# ln [a-zA-Z]*.el ../../${tempdir}/lisp/calc-2.02
+# ln [a-zA-Z]*.elc ../../${tempdir}/lisp/calc-2.02
+# ln calc.info* calc.texinfo calc-refcard.* ../../${tempdir}/lisp/calc-2.02
+# ln INSTALL Makefile README README.prev ../../${tempdir}/lisp/calc-2.02
+# cd ../../${tempdir}/lisp/calc-2.02
+# rm -f *~ TAGS)
echo "Making links to \`lisp/term'."
### Don't distribute =*.el files or TAGS.
ln *.c ../${tempdir}/man
test -f README && ln README ../${tempdir}/man
test -f Makefile && ln Makefile ../${tempdir}/man
- ln ChangeLog split-man ../${tempdir}/man)
+ ln ChangeLog split-man ../${tempdir}/man
+ cp texinfo.tex texindex.c ../${tempdir}/man
+ rm -f \#*\# =* *~ core emacs-index* *.Z *.z xmail
+ rm -f emacs.?? termcap.?? gdb.?? *.log *.toc *.dvi *.oaux)
echo "Making links to \`shortnames'."
(cd shortnames